package simple

import (
	"net/http"
)

func Start() {
	s := &HttpServer{}
	_ = http.ListenAndServe(":8081", s)
}

type Server interface {
	http.Handler
}

type HttpServer struct {
}

func (m *HttpServer) ServeHTTP(writer http.ResponseWriter, request *http.Request) {
	_, _ = writer.Write([]byte("hello, world"))
}
